package shared;

import org.newdawn.slick.GameContainer;

public class MouseInput {
	private static int mousePosX;
	private static int mousePosY;
	
	public static void init() {
		mousePosX = 0;
		mousePosY = 0;
	}
	
	public static void update(GameContainer gc) {
		mousePosX = gc.getInput().getMouseX() - Camera.getShiftX();
		mousePosY = gc.getInput().getMouseY() - Camera.getShiftY();
	}

	public static int getMousePosX() {
		return mousePosX;
	}

	public static int getMousePosY() {
		return mousePosY;
	}

}
